<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 4/17/17
 * Time: 1:49 PM
 */

namespace common\models;

/**
 * Class Car
 * @package common\models
 *
 * @property DividedPaymentsOrder[] $dividedPaymentsOrders
 */
class Car extends \common\models\base\Car
{
	/**
	 * @return \yii\db\ActiveQuery
	 */
	public function getDividedPaymentsOrders()
	{
		return $this->hasMany(DividedPaymentsOrder::className(), ['car_id' => 'id']);
	}
}